<template>
	<div id="app">
		<div class="content">
			<router-view>

			</router-view>
		</div>
		<div class="nav">
			<router-link to="/">首页</router-link>
			<router-link to="/member">会员</router-link>
			<router-link to="/classify">分类</router-link>
			<router-link to="/shop">购物车</router-link>
			<router-link to="/my">我的</router-link>
		</div>
	</div>	
</template>

<script>
	export default {
		data(){
			return {
				msg: "webpack+vue demo"
			}
		}
	}
</script>

<style type="text/css" lang="less">
@import './common/css/reset.css';
	.nav{
		position: fixed;
		bottom: 0;
		width: 100%;
		display: flex;
		background: white;
		border-top: 1px solid #ccc;
		a{
			flex:1;
			display: block;
			text-align: center;
			line-height: 50px;
			color: black;
		}
	}
	.content{
		padding-bottom: 50px;
		font-size: 30px;
	}
</style>